class Logger {
  constructor (dao) {
    this.dao = dao;
  }

  insert (params) {
    return this.dao.insert(params).then(result => {
      return result;
    }).catch(reason => {
      return reason;
    });
  }
}

module.exports = Logger;
